/**
 * 
 */
package com.workable.assignment.domain.themoviedb;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.workable.assignment.utilities.StringUtil;

/**
 * @author npapadopoulos
 * 
 */
public class TMDBStatus implements Serializable {

	/**
	     * 
	     */
	private static final long serialVersionUID = -5674241595115095251L;

	/**
	     * 
	     */
	@JsonProperty(value = "status_code")
	private int statusCode;

	@JsonProperty(value = "status_message")
	private String statusMessage;

	private String error;

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}

	/**
	 * @return the statusCode
	 */
	public int getStatusCode() {
		return statusCode;
	}

	/**
	 * @param statusCode
	 *            the statusCode to set
	 */
	public void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}

	/**
	 * @return the statusMessage
	 */
	public String getStatusMessage() {
		return statusMessage;
	}

	/**
	 * @param statusMessage
	 *            the statusMessage to set
	 */
	public void setStatusMessage(String statusMessage) {
		this.statusMessage = statusMessage;
	}

	@Override
	public String toString() {
		return StringUtil.toString(this);
	}

}